package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author zl
 * @since 2025-10-21
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("t_course_summary")
public class CourseSummary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 销量
     */
    @TableField("sale_count")
    private Integer saleCount;

    /**
     * 浏览量
     */
    @TableField("view_count")
    private Integer viewCount;

    /**
     * 评论数
     */
    @TableField("comment_count")
    private Integer commentCount;
}